package com.osi.bean;

import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;
import java.util.Date;


/**
 * @author lixin
 */
@Data
@TableName("student_course")
@NoArgsConstructor
@AllArgsConstructor
public class StudentCourse implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 学生id
	 */
	private Integer studentId;

	/**
	 * 课程id
	 */
	private Integer courseId;


	/**
	 * 创建时间
	 */
	@TableField(fill = FieldFill.INSERT)
	@JsonFormat(pattern = "yyyy-MM-dd",timezone="Asia/Shanghai")
	private Date createTime;


}
